home *** CD-ROM | disk | FTP | other *** search
- //
- // *******************************************************************
- // JdeBP C++ Library Routines General Public Licence v1.00
- // Copyright (c) 1991,1992 Jonathan de Boyne Pollard
- // *******************************************************************
- //
- // Common include file for OS/2 applications
- //
-
- #if !defined(__STDDEF_H_INCLUDED)
- #include <_stddef.h>
- #endif
- #if !defined(__API_H_INCLUDED)
- #include <_api.h> // Common to DOS/Windoze/OS/2 APIs
- #endif
- #if !defined(___ATTRIB_H_INCLUDED)
- #include <_attrib.h> // File attribute constants
- #endif
-
- /*
- * #define: To include:
- *
- * INCL_DOSPROCESS Process and thread support
- * INCL_DOSINFOSEG InfoSeg support
- * INCL_DOSFILEMGR File Management
- * INCL_DOSMEMMGR Memory Management
- * INCL_DOSSEMAPHORES Semaphore support
- * INCL_DOSDATETIME Date/Time and Timer support
- * INCL_DOSMODULEMGR Module manager
- * INCL_DOSRESOURCES Resource support
- * INCL_DOSNLS National Language Support
- * INCL_DOSMISC Miscellaneous
- * INCL_DOSSIGNALS Signals
- * INCL_DOSMONITORS Monitors
- * INCL_DOSQUEUES Queues
- * INCL_DOSSESMGR Session Manager Support
- * INCL_DOSERRORS OS/2 Errors
- * INCL_SUB KBD, VIO, MOU
- */
-
- #if !defined(INCL_DOSPROCESS) \
- && !defined(INCL_DOSINFOSEG) \
- && !defined(INCL_DOSFILEMGR) \
- && !defined(INCL_DOSMEMMGR) \
- && !defined(INCL_DOSSEMAPHORES) \
- && !defined(INCL_DOSDATETIME) \
- && !defined(INCL_DOSMODULEMGR) \
- && !defined(INCL_DOSRESOURCES) \
- && !defined(INCL_DOSNLS) \
- && !defined(INCL_DOSMISC) \
- && !defined(INCL_DOSSIGNALS) \
- && !defined(INCL_DOSMONITORS) \
- && !defined(INCL_DOSQUEUES) \
- && !defined(INCL_DOSSESMGR) \
- && !defined(INCL_DOSERRORS) \
- && !defined(INCL_SUB) \
- && !defined(INCL_DOS)
- # define INCL_ALL
- #endif
-
- #if defined(INCL_BASE) || defined(INCL_ALL)
- # define INCL_DOS
- # define INCL_SUB
- # define INCL_DOSERRORS
- #endif
-
- #include <os2/doscalls.h>
-
- #if defined(INCL_SUB)
- # include <os2/kbdcalls.h>
- # include <os2/viocalls.h>
- # include <os2/moucalls.h>
- #endif
-
- #if defined(INCL_DOSERRORS)
- # include <os2/errors.h>
- #endif
-
- #include <os2/pm.h>
-